package com.jetgege.smartbox.Base;

import android.app.Fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

/**
 * Created by JJT-ssd on 2017/4/24.
 */

public abstract class BaseFragment extends Fragment {

    protected abstract int getFragmentLayoutId();

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        View view = inflater.inflate(getFragmentLayoutId(),container,false);
        return view;
    }
}
